package entity;

public class Dog {
	private String name;
	private int age;
	private char color;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public char getColor() {
		return color;
	}
	public void setColor(char color) {
		this.color = color;
	}
	@Override
	public String toString() {
		return "Dog [name=" + name + ", age=" + age + ", color=" + color + "]";
	}
	
	public void printDog(String name) {
		System.out.println(name + "dog dog");
	}
	
	public void printDog(String name,int age) {
		System.out.println(name + age  + "dog dog");
	}
}
